<table width="100%" class="tab_label" id="gaoji_config" style="display:none">
    <col class="th" style="width: 200px;" />
    <col/>
    <tbody>

    <?php if(($admin_row['sid']==-1) && (!$is_sub)):?>
        <tr>
            <th>设置附属站点</th>
            <td>
                <div id="conn_list">
                    <?php foreach($conn_site_list as $key=>$val):?>
                        <span><?php echo $val['name']?><a alt="<?php echo $val['sid']?>" title="<?php echo $key?>" class="del"></a></span>
                    <?php endforeach;?>
                </div>
                <input type="button" value="增加" class="btn" id="sel_conn_sites" data-uri="<?php echo site_url('/admin/shopconfig/site_list?disable=1&province='.$row['siteprovince']['value'].'&city='.$row['sitecity']['value']);?>" title="增加附属站点">
                <input type="hidden" name="Form[conn_sites]" value="<?php echo $row['conn_sites']['value']?>"><font class="red bold">取消免维护数据不可恢复，请慎重操作！！！</font>
            </td>
        </tr>
    <?php endif;?>
    <tr>
        <th><?php echo $row['dis_sites']['info']?></th>
        <td>
            <div id="dis_list">
                <?php foreach($site_list as $key=>$val):?>
                    <span><?php echo $val['name']?><a alt="<?php echo $val['sid']?>" title="<?php echo $key?>" class="del"></a></span>
                <?php endforeach;?>
            </div>
            <input type="button" value="增加" class="btn" id="sel_sites" data-uri="<?php echo site_url('/admin/shopconfig/site_list')?>" title="分销站点">
            <input type="hidden" name="Form[dis_sites]" value="<?php echo $row['dis_sites']['value']?>">
        </td>
    </tr>
    <tr>
        <th><?php echo $row['ctrip_allianceid']['info'];?></th>
        <td><input type="text" name="Form[ctrip_allianceid]" value="<?php echo $row['ctrip_allianceid']['value'];?>" class="input rounded w_4"  /> [选填，如有疑问，询问掌旅宝]</td>
    </tr>
    <tr>
        <th><?php echo $row['ctrip_sid']['info'];?></th>
        <td><input type="text" name="Form[ctrip_sid]" value="<?php echo $row['ctrip_sid']['value'];?>" class="input rounded w_4"/> [选填，如有疑问，询问掌旅宝]</td>
    </tr>
    <tr>
        <th><?php echo $row['ctrip_key']['info'];?></th>
        <td><input type="text" name="Form[ctrip_key]" value="<?php echo $row['ctrip_key']['value'];?>" class="input rounded w_4" /> [选填，如有疑问，询问掌旅宝]</td>
    </tr>
    <tr>
        <th><?php echo $row['order_check']['info'];?></th>
        <td><input type="radio" name="Form[order_check]" value="1" <?php if($row['order_check']['value']==1)echo 'checked'?> />审核&nbsp;&nbsp;
            <input type="radio" name="Form[order_check]" value="0" <?php if($row['order_check']['value']==0)echo 'checked'?> />不审核
        </td>
    </tr>
    <tr>
        <th><?php echo $row['order_tel_check']['info'];?></th>
        <td><input type="radio" name="Form[order_tel_check]" value="1" <?php if($row['order_tel_check']['value']==1)echo 'checked'?> />审核&nbsp;&nbsp;
            <input type="radio" name="Form[order_tel_check]" value="0" <?php if($row['order_tel_check']['value']==0)echo 'checked'?> />不审核
        </td>
    </tr>
    <tr>
        <th><?php echo $row['order_dis_check']['info'];?></th>
        <td><input type="radio" name="Form[order_dis_check]" value="1" <?php if($row['order_dis_check']['value']==1)echo 'checked'?> />审核&nbsp;&nbsp;
            <input type="radio" name="Form[order_dis_check]" value="0" <?php if($row['order_dis_check']['value']==0)echo 'checked'?> />不审核
        </td>
    </tr>
    <tr>
        <th><?php echo $row['use_supplier']['info'];?></th>
        <td><input type="radio" name="Form[use_supplier]" value="1" <?php if($row['use_supplier']['value']==1)echo 'checked'?> />启用&nbsp;&nbsp;
            <input type="radio" name="Form[use_supplier]" value="0" <?php if($row['use_supplier']['value']==0)echo 'checked'?> />不启用
        </td>
    </tr>

    <tr>
        <th><?php echo $row['site_template']['info'];
            $this->load->config('template');
            $templates = $this->config->config['template'];
            ?></th>
        <td>
            <select name="Form[site_template]">
                <?php foreach ($templates as $k => $template) { ?>
                    <option <?php if($row['site_template']['value']==$k):?> selected="selected" <?php endif;?> value="<?php echo $k?>"><?php echo $template['name']?></option>
                <?php }?>
            </select>
        </td>
    </tr>

    <tr>
        <th>默认手机版</th>
        <td>

            <select name="Form[mobiletemplate]">
                <?php foreach (array('default' => '手机版', 'weixin' => '微信版') as $k => $t) { ?>
                    <option <?php if($row['mobiletemplate']['value']==$k):?> selected="selected" <?php endif;?> value="<?php echo $k?>"><?php echo $t?></option>
                <?php }?>
            </select>
        </td>
    </tr>

    </tbody>
</table>
